//
//  ImageCell.m
//  MultiSelectPhoto
//
//  Created by Burn on 2019/6/17.
//  Copyright © 2019 menksoft. All rights reserved.
//

#import "ImageCell.h"
#import "ImageModel.h"


@implementation ImageCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.imageV.contentMode = UIViewContentModeScaleAspectFill;
}


-(void)setImage:(UIImage *)image{
    _image = image;
    self.imageV.image = image;
}


- (void)setModel:(ImageModel *)model{
    _model = model;
    self.imageV.image = model.image;
    self.choosBTN.hidden = !model.choose;
}

@end
